wayland: Ensure device grabs generate crossing/focus events
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 24 Jun 2015 15:48:18 +0000 (17:48 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 24 Jun 2015 16:15:46 +0000 (18:15 +0200)
commitde2268000d7e3eb5e84603810f9a6f971efb1072
treed3518c4a511ac61e6ab33785b7d9a39a04f5bc7d
parentde260ae2ea8809b992b113d5f37b2dac38b2abcf
wayland: Ensure device grabs generate crossing/focus events

On X11 this is something the windowing system does for us, which the
wayland backend should emulate, being grabs completely client-side.

So, if the grab and current focus windows differ, make sure we emit
focus/crossing events as it corresponds to the grab device.
gdk/wayland/gdkdevice-wayland.c